package org.jeecg.modules.company.facade.impl;



import org.springframework.stereotype.Service;


import org.jeecg.base.facade.impl.IFacadeImpl;
import org.jeecg.modules.company.entity.QscChangeRecord;
import org.jeecg.modules.company.facade.IQscChangeRecordFacade;
import org.jeecg.modules.company.service.IQscChangeRecordService;
import org.jeecg.modules.company.vo.QscChangeRecordVo;
import org.springframework.beans.BeanUtils;

import org.springframework.beans.factory.annotation.Autowired;


/**
 * @Description: 质维码变更记录
 * @Author: zj
 * @Date:   2020-05-26
 * @Version: V1.0
 */


@Service
public class QscChangeRecordFacadeImpl extends IFacadeImpl<QscChangeRecordVo, QscChangeRecord, IQscChangeRecordService>  implements IQscChangeRecordFacade<QscChangeRecordVo, QscChangeRecord> {
        @Autowired
        private IQscChangeRecordService qscChangeRecordService;


         @Override
         public QscChangeRecord po2Vo(QscChangeRecordVo vo) {
                QscChangeRecord po = new QscChangeRecord();
                if(vo==null){
                   return null;
                }
                BeanUtils.copyProperties(vo, po);
                return po;
         }

         @Override
         public QscChangeRecordVo vo2Po(QscChangeRecord po) {
                QscChangeRecordVo vo = new QscChangeRecordVo();
                 if(po==null){
                     return null;
                  }
                BeanUtils.copyProperties(po, vo);
                return vo;
         }

}
